#include "stdafx.h"
#include "MouseHandler.h"

CMouseHandler::CMouseHandler( ) :
	m_Button( 0 ),
	m_State( 0 ),
	m_PosX( 0 ),
	m_PosY( 0 )
{
}

CMouseHandler::~CMouseHandler( )
{

}

bool CMouseHandler::Update( )
{
	return true;
}

void CMouseHandler::Clear( )
{
	m_Button = 0;
	m_State = 0;
	m_PosX = 0;
	m_PosY = 0;
}

bool CMouseHandler::HandleMouse( const int inButton, const int inState, const int inPosX, const int inPosY )
{
	m_Button = inButton;
	m_State = inState;
	m_PosX = inPosX;
	m_PosY = inPosY;
	
	printf( "Mouse : Button = %d State = %d Pos X = %d Pos Y = %d\n", m_Button, m_State, m_PosX, m_PosY );
	return true;
}
